/*
 * @Author: yopofeng yopofeng@tencent.com
 * @Date: 2024-01-25 11:25:59
 * @LastEditors: yopofeng yopofeng@tencent.com
 * @LastEditTime: 2024-01-25 11:26:53
 * @FilePath: /minitest-demo/miniprogram-demo/miniprogram/components/customelement/test2.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// element/customelement/test2.js
Component({
  /**
   * 组件的属性列表
   */

  lifetimes: {
    attached: function() {
      // 在组件实例进入页面节点树时执行
      this.setData({
        test1: "a",
        bbc: "ddd"
      })
      console.log("component", this.is, this.renderer)
    },
    detached: function() {
      // 在组件实例被从页面节点树移除时执行
    },
  },

  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    
  }
})
